(()=>{"use strict";var e={262:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Random=void 0,t.Random=class{static chooseOne(e){return e[Math.floor(Math.random()*e.length)]}}},745:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeHasher=void 0;class r{static encode(e){return e.replace(/[0-9a-f]/g,(e=>r.map[e]))}static decode(e){const t=Object.values(r.map).join(""),n=new RegExp(`[${t}]`,"g");return e.replace(n,(e=>Object.keys(r.map).find((t=>r.map[t]===e))||""))}static encodeAndInsert(e,t,n,o=1){var l;const a=[...e.map((e=>r.encode(null!=e?e:""))),n&&(null===(l=r.adPlatformsSequencesMap[n])||void 0===l?void 0:l.join(""))||""].join(r.HASH_SEPARATOR);return`${t.slice(0,o)}${a}${t.slice(o)}`}static decodeAndExtract(e){if(!e)return[];const t=Object.values(r.map).join(""),n=new RegExp(`[${t}]`,"g");return e.split(r.HASH_SEPARATOR).map((e=>{const t=Object.keys(r.adPlatformsSequencesMap).find((t=>{const n=r.adPlatformsSequencesMap[t].join("");return new RegExp(n,"g").test(e)}));if(t)return t;let o="";return e.replace(n,(e=>{const t=Object.keys(r.map).find((t=>r.map[t]===e));return t&&(o+=t),e})),""!==o?o:null}))}static removeAllEncodedChars(e){const t=Object.values(r.map).join(""),n=[new RegExp(`[${t}]`,"g"),new RegExp(r.HASH_SEPARATOR,"g"),...Object.values(r.adPlatformsSequencesMap).map((e=>new RegExp(e.join(""),"g")))];let o=e;return n.forEach((e=>{o=o.replace(e,"")})),o}}t.UnicodeHasher=r,r.HASH_SEPARATOR="",r.map={0:"​",1:"‌",2:"‍",3:"⁠",4:"⁡",5:"⁢",6:"⁣",7:"⁤",8:"‪",9:"‬",a:"⁦",b:"͏",c:"⁨",d:"⁩",e:"",f:""},r.adPlatformsSequencesMap={meta:["","","឴","឵"],google:["឴","឵","឵","឴","\ufeff","؜"],kwai:["؜","\ufeff","",""],tiktok:["؜","឵","","؜","\ufeff",""]}},202:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UrlRebuilder=void 0;const n=r(262),o=r(745);class l{static randomizePhoneNumberIfNecessary(e){var t;const r=null!==(t=window.phones)&&void 0!==t?t:[];if(0===r.length)return e;const o=n.Random.chooseOne(r);return e.includes("phone=")?l.withReplaceQueryParam(e,"phone",o):e.includes("wa.me")?`https://wa.me/${o}?${e.split("?")[1]}`:e}static insertAdIdInWppUrl(e,t,r,n){var a;const i=null!==(a=l.getQueryParams(e).get("text"))&&void 0!==a?a:"Olá",s=t.replace(/[^0-9]/g,""),u=o.UnicodeHasher.removeAllEncodedChars(i),c=o.UnicodeHasher.encodeAndInsert([s,r],u,n);return l.withReplaceQueryParam(e,"text",c)}static getAdId(e){var t,r,n;const o=null!==(n=null===(r=null===(t=e.get("utm_content"))||void 0===t?void 0:t.split("::"))||void 0===r?void 0:r[0])&&void 0!==n?n:"";return o.includes("|")?o.split("|")[1]:o.match(/^\d+$/)?o:null}static getTrackingSource(e){var t,r,n;const o=null===(t=e.get("utm_source"))||void 0===t?void 0:t.toLowerCase(),l=null===(r=e.get("src"))||void 0===r?void 0:r.toLowerCase(),a=null===(n=e.get("utm_term"))||void 0===n?void 0:n.toLowerCase(),i=["facebook","fb","face","Instagram_Stories","Instagram_Stories","Instagram_Feed"],s=["google","gclid","googleads","adwords","youtube.com"],u=(e,t)=>t.some((t=>null==e?void 0:e.toLowerCase().includes(t.toLowerCase()))),c=u(o,i)||u(l,i)||u(a,i),d=u(o,s)||u(l,s)||u(a,s),m=u(o,["kwai"]),v=u(o,["tiktok"]);return c?"meta":d?"google":m?"kwai":v?"tiktok":null}static getQueryParams(e){const t=e.split("?")[1];return new URLSearchParams(t)}static withReplaceQueryParam(e,t,r){const n=e.split("?")[0],o=e.split("?")[1],l=new URLSearchParams(o);return l.set(t,r),`${n}?${l.toString()}`}static removeSpecialCharacteres(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\w\s-|]/gi,"").replace(/\s/g,"")}}t.UrlRebuilder=l}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var l=t[n]={exports:{}};return e[n](l,l.exports,r),l.exports}(()=>{var e,t,n,o;const l=r(202);console.log("utms script loaded! 2.3.12");const a={ignoreAllIframes:!!document.querySelector("[data-utmify-ignore-iframe]"),ignoreScriptRetry:!!document.querySelector("[data-utmify-ignore-retry]"),fastStart:!!document.querySelector("[data-utmify-fast-start]"),replacePlusSignal:!!document.querySelector("[data-utmify-plus-signal]"),isClickBank:!!document.querySelector("[data-utmify-is-click-bank]"),preventSubIds:!!document.querySelector("[data-utmify-prevent-subids]"),fixShopifyTheme:!!document.querySelector("[data-utmify-fix-shopify-theme]"),ignoreClasses:null===(n=null===(t=null===(e=document.querySelector("[data-utmify-ignore-classes]"))||void 0===e?void 0:e.getAttribute("data-utmify-ignore-classes"))||void 0===t?void 0:t.split(" "))||void 0===n?void 0:n.filter((e=>!!e)),replaceLinks:null===(o=document.querySelector("[data-utmify-replace-links]"))||void 0===o?void 0:o.getAttribute("data-utmify-replace-links"),isCartpanda:!!document.querySelector("[data-utmify-is-cartpanda]"),preventXcodSck:!!document.querySelector("[data-utmify-prevent-xcod-sck]"),preventClickIdsFallback:!!document.querySelector("[data-utmify-prevent-click-ids-fallback]")};var i,s;!function(e){e.Doppus="doppus"}(i||(i={})),function(e){e.PandaVideo="pandavideo.com",e.YouTube="youtube.com",e.EplayVideo="eplay.video",e.Vimeo="vimeo.com"}(s||(s={}));const u=["utm_source","utm_campaign","utm_medium","utm_content","utm_term"];class c{static getLeadIdFromSearchParams(e){var t,r;const n=e.get("utm_source");return null!==(r=null===(t=null==n?void 0:n.split(c.LEAD_ID_SEPARATOR))||void 0===t?void 0:t[1])&&void 0!==r?r:null}static getLeadIdFromStorage(){var e,t,r,n;const o=null!==(r=null!==(t=null!==(e=localStorage.getItem("lead"))&&void 0!==e?e:localStorage.getItem("lead-google"))&&void 0!==t?t:localStorage.getItem("lead-kwai"))&&void 0!==r?r:localStorage.getItem("lead-tiktok");if(!o)return null;const l=JSON.parse(o);return null!==(n=null==l?void 0:l._id)&&void 0!==n?n:null}static addUtmParametersToUrl(e){const t=c.urlWithoutParams(e),r=c.paramsFromUrl(e),n=c.getUtmParameters(),o=new URLSearchParams;r.forEach(((e,t)=>o.append(t,e))),n.forEach(((e,t)=>o.append(t,e)));const l=c.urlParametersWithoutDuplicates(o),i=c.simplifyParametersIfNecessary(t,l),s=a.replacePlusSignal?i.toString().split("+").join("%20"):i.toString(),u=-1===t.indexOf("?")?"?":"&";return`${t}${u}${s}`}static urlWithoutParams(e){return e.split("?")[0]}static paramsFromUrl(e){if(!e)return new URLSearchParams;const t=e instanceof URL?e.href:e;if(!t.includes("?"))return new URLSearchParams;const r=t.split("?");if(r.length<=1)return new URLSearchParams;const n=r[1];return new URLSearchParams(n)}static urlParametersWithoutDuplicates(e){const t=Array.from(e.keys()),r=new Map;t.forEach((t=>{const n=e.getAll(t);r.set(t,n[n.length-1])}));const n=new URLSearchParams;return r.forEach(((e,t)=>{n.append(t,e)})),n}static getUtmParameters(){var e,t,r,n,o,i;const s=new URLSearchParams(window.location.search);function u(e){const t=s.get(e);if(null!=t&&"null"!==t&&"undefined"!==t&&""!==t)return t;const r=localStorage.getItem(e);if(!r)return"";const n=localStorage.getItem(m(e));return!n||new Date(n)null!=e&&""!==e;k(T)&&k(O)&&k(C)&&(A=v("kwai"),R=(null==R?void 0:R.includes(T))?R:T,h=(null==h?void 0:h.includes(O))?h:O,_=(null==_?void 0:_.includes(C))?_:a.preventClickIdsFallback?C:[C,L,U].join(c.CLICK_ID_SEPARATOR),P.set("utm_source",A),P.set("utm_campaign",R),P.set("utm_medium",h),P.set("utm_content",_)),a.isClickBank?(P.set("aff_sub1",l.UrlRebuilder.removeSpecialCharacteres(A)),P.set("aff_sub2",l.UrlRebuilder.removeSpecialCharacteres(R).replace(/\|(?=\d{10,}$)(?!.*\|)/,"cKBk")),P.set("aff_sub3",l.UrlRebuilder.removeSpecialCharacteres(h).replace(/\|(?=\d{10,}$)(?!.*\|)/,"cKBk")),P.set("aff_sub4",l.UrlRebuilder.removeSpecialCharacteres(null!==(t=null===(e=null==_?void 0:_.split(c.CLICK_ID_SEPARATOR))||void 0===e?void 0:e[0])&&void 0!==t?t:"").replace(/\|(?=\d{10,}$)(?!.*\|)/,"cKBk")),P.set("aff_sub5",l.UrlRebuilder.removeSpecialCharacteres(g))):a.preventSubIds||(P.set("subid",l.UrlRebuilder.removeSpecialCharacteres(A)),P.set("sid2",l.UrlRebuilder.removeSpecialCharacteres(R)),P.set("subid2",l.UrlRebuilder.removeSpecialCharacteres(R)),P.set("subid3",l.UrlRebuilder.removeSpecialCharacteres(h)),P.set("subid4",l.UrlRebuilder.removeSpecialCharacteres(null!==(n=null===(r=null==_?void 0:_.split(c.CLICK_ID_SEPARATOR))||void 0===r?void 0:r[0])&&void 0!==n?n:"")),P.set("subid5",l.UrlRebuilder.removeSpecialCharacteres(R)));const D=u("src");null!=D&&""!==D&&P.set("src",D);const $=[A,R,h,3===(null!==(i=null===(o=null==_?void 0:_.split(c.CLICK_ID_SEPARATOR))||void 0===o?void 0:o.length)&&void 0!==i?i:0)?_.split(c.CLICK_ID_SEPARATOR)[0]:_,g],j=$.every((e=>""===e)),x=u("xcod"),M=u("sck");if(a.preventXcodSck)x&&P.set("xcod",x),M&&P.set("sck",M);else{const e=d($,c.UTM_AD_OBJECT_TYPE_SEPARATOR_HOTMART),t=function(e,t,r){if(e.length<=255)return e;const n=4*r.length,o=Math.floor((255-n-12-80-29)/5);function l(e,t,r){function n(e){return e.substring(0,o)+"..."}if(!t)return n(e);const l=null!=r?r:"|",a=e.split(l),i=a.length>1?a[a.length-1]:"";return`${n(1===a.length?a[0]:a.slice(0,-1).join(l))}${l}${i}`}const[a,i,s,u,c]=e.split(r);return d([l(a,!0,"jLj"),l(i,!0),l(s,!0),l(u,!0),l(c,!1)],r)}(j?""!==x?x:D:e,0,c.UTM_AD_OBJECT_TYPE_SEPARATOR_HOTMART);P.set("xcod",t),P.set("sck",t)}const q=s.get("fbclid");null!=q&&""!==q&&(P.set("fbclid",q),a.preventClickIdsFallback||(_=(null==_?void 0:_.includes(c.CLICK_ID_SEPARATOR))?_:[_,q,""].join(c.CLICK_ID_SEPARATOR),P.set("utm_content",_))),null!=w&&""!==w&&(P.set("gclid",w),a.preventClickIdsFallback||(_=(null==_?void 0:_.includes(c.CLICK_ID_SEPARATOR))?_:[_,w,""].join(c.CLICK_ID_SEPARATOR),P.set("utm_content",_))),null!=b&&""!==b&&P.set("gbraid",b),null!=y&&""!==y&&P.set("wbraid",y),null!=E&&""!==E&&(P.set("ttclid",E),a.preventClickIdsFallback||(_=(null==_?void 0:_.includes(c.CLICK_ID_SEPARATOR))?_:[_,E,""].join(c.CLICK_ID_SEPARATOR),P.set("utm_content",_)));const K=u("utm_id");return K&&P.set("utm_id",K),(()=>{const e=e=>null==e||""===e,t=u("utm_source"),r=u("utm_medium"),n=u("utm_campaign"),o=u("utm_content"),l=u("utm_term"),a=u("gclid"),i=u("gbraid"),s=u("wbraid"),c=u("click_id"),d=u("ttclid"),m=u("CampaignID"),v=u("xcod"),p=u("src"),f=P.get("fbclid");return e(t)&&e(r)&&e(n)&&e(o)&&e(l)&&e(v)&&e(p)&&e(f)&&e(a)&&e(i)&&e(s)&&e(c)&&e(d)&&e(m)})()&&P.set("utm_source","organic"),window.utmParams=P,P}static simplifyParametersIfNecessary(e,t){if(!Object.values(i).some((t=>e.includes(t))))return t;const r=new URLSearchParams;return t.forEach(((e,t)=>{u.includes(t)&&r.append(t,e)})),r}}c.UTM_AD_OBJECT_TYPE_SEPARATOR_HOTMART="hQwK21wXxR",c.LEAD_ID_SEPARATOR="jLj",c.GOOGLE_KEYWORD_SEPARATOR="::",c.CLICK_ID_SEPARATOR="::",window.paramsList=["utm_source","utm_campaign","utm_medium","utm_content","utm_term","xcod","src"],window.itemExpInDays=7;const d=["utm_source","utm_campaign","utm_medium","utm_content","xcod","sck"];function m(e){return`${e}_exp`}function v(){function e(e){document.querySelectorAll("a").forEach((t=>{var r,n;if(!(t.href.startsWith("mailto:")||t.href.startsWith("tel:")||t.href.includes("#")||(null===(r=null==a?void 0:a.ignoreClasses)||void 0===r?void 0:r.some((e=>t.classList.contains(e)))))){if(o=t.href,["wa.me/","api.whatsapp.com/send","whatsapp:","link.dispara.ai/","random.lailla.io/"].some((e=>o.includes(e)))){const e=c.getUtmParameters(),r=l.UrlRebuilder.getAdId(e),o=null!==(n=c.getLeadIdFromSearchParams(e))&&void 0!==n?n:c.getLeadIdFromStorage(),a=l.UrlRebuilder.getTrackingSource(e);return t.href=l.UrlRebuilder.randomizePhoneNumberIfNecessary(t.href),void(t.href=l.UrlRebuilder.insertAdIdInWppUrl(t.href,null!=r?r:"",o,a))}var o;if(e&&d.every((e=>t.href.includes(e))))return;t.href=c.addUtmParametersToUrl(t.href),a.replaceLinks&&function(e,t){var r,n;if("true"===e.getAttribute("data-replaced-element"))return;if(t&&!(null===(r=e[t.property])||void 0===r?void 0:r.includes(t.value)))return;const o=document.createElement(e.tagName);for(const t of e.attributes)o.setAttribute(t.name,t.value);o.setAttribute("data-replaced-element","true"),o.innerHTML=e.innerHTML,null===(n=e.parentNode)||void 0===n||n.replaceChild(o,e)}(t,{property:"href",value:a.replaceLinks})}}))}function t(){const e=document.querySelector("vturb-smartplayer");if(!e)return;const t=c.getUtmParameters(),r=()=>{e.injectUrlUpdater(((e,r)=>{const n=new URL(e,window.location.href);for(const[e,r]of t.entries())e&&r&&n.searchParams.set(e,r);return n.toString()}))};e.removeEventListener("player:ready",r),e.addEventListener("player:ready",r)}function r(e){document.querySelectorAll("form").forEach((t=>{var r;e&&d.every((e=>t.action.includes(e)))||(null===(r=null==a?void 0:a.ignoreClasses)||void 0===r?void 0:r.some((e=>t.classList.contains(e))))||(t.action=c.addUtmParametersToUrl(t.action),c.getUtmParameters().forEach(((e,r)=>{const n=(o=r,t.querySelector(`input[name="${o}"]`));var o;if(n)return void n.setAttribute("value",e);const l=((e,t)=>{const r=document.createElement("input");return r.type="hidden",r.name=e,r.value=t,r})(r,e);t.appendChild(l)})))}))}!function(){const e=new URLSearchParams(window.location.search);window.paramsList.forEach((t=>{const r=e.get(t);r&&((e,t)=>{localStorage.setItem(e,t);const r=new Date((new Date).getTime()+24*window.itemExpInDays*60*60*1e3);localStorage.setItem(m(e),r.toISOString())})(t,r)}))}();const n=function(){var e,t,r,n,o,l,i,s,u,c,d,m,v,p,f,g,S,_,h,R,A,w;const{fixShopifyTheme:b}=a,y=null!==(t=null===(e=null===window||void 0===window?void 0:window.BOOMR)||void 0===e?void 0:e.themeName)&&void 0!==t?t:null===(n=null===(r=null===window||void 0===window?void 0:window.Shopify)||void 0===r?void 0:r.theme)||void 0===n?void 0:n.schema_name,E=null!==(o=null==y?void 0:y.includes("Dropmeta"))&&void 0!==o&&o,P=null!==(l=null==y?void 0:y.includes("Warehouse"))&&void 0!==l&&l,I=null!==(i=null==y?void 0:y.includes("Classic®"))&&void 0!==i&&i,T=null!==(s=null==y?void 0:y.includes("Tema Vision"))&&void 0!==s&&s,O=null!==(u=null==y?void 0:y.includes("Waresabino"))&&void 0!==u&&u,C=null!==(c=null==y?void 0:y.includes("Dawn"))&&void 0!==c&&c,L=null!==(d=null==y?void 0:y.includes("Vortex"))&&void 0!==d&&d,U=null!==(m=null==y?void 0:y.includes("Warepro"))&&void 0!==m&&m,k=null!==(v=null==y?void 0:y.includes("Wareimadigital"))&&void 0!==v&&v,D=null!==(p=null==y?void 0:y.includes("Mercado Livre"))&&void 0!==p&&p,$=null!==(f=null==y?void 0:y.includes("Tema Evolution®"))&&void 0!==f&&f,j=null!==(g=null==y?void 0:y.includes("Evolution Enterprise"))&&void 0!==g&&g,x=null!==(S=null==y?void 0:y.includes("Tema Sabino Vision"))&&void 0!==S&&S,M=null!==(_=null==y?void 0:y.includes("Split"))&&void 0!==_&&_,q=null!==(h=null==y?void 0:y.includes("WART"))&&void 0!==h&&h,K=null!==(R=null==y?void 0:y.includes("Vogal"))&&void 0!==R&&R,W=null!==(A=null==y?void 0:y.includes("Aurohra 2.0"))&&void 0!==A&&A,H=null!==(w=null==y?void 0:y.includes("RAWART"))&&void 0!==w&&w;return b||E||P||I||T||O||C||L||U||k||D||$||H||j||x||M||q||K||W}();e(),t(),function(){const e=window.open;window.open=function(t,r,n){var o;return t=c.addUtmParametersToUrl(null!==(o=null==t?void 0:t.toString())&&void 0!==o?o:""),e(t,r||"",n||"")}}(),n||(r(),function(){const{body:n}=document;new MutationObserver(((n,o)=>{const l=e=>{if(e.nodeType!==Node.ELEMENT_NODE)return!1;const t=e;return"INPUT"===t.tagName&&"hidden"===(null==t?void 0:t.type)};n.some((e=>Array.from(e.addedNodes).some(l)))||(e(!0),t(),r(!0))})).observe(n,{subtree:!0,childList:!0})}(),a.ignoreAllIframes||document.querySelector('link[href="https://api.vturb.com.br"]')||document.querySelectorAll("iframe").forEach((e=>{var t;Object.values(s).some((t=>e.src.includes(t)))||(null===(t=null==a?void 0:a.ignoreClasses)||void 0===t?void 0:t.some((t=>e.classList.contains(t))))||(e.src=c.addUtmParametersToUrl(e.src))})))}const p=()=>{v(),a.ignoreScriptRetry||(setTimeout(v,2e3),setTimeout(v,3e3),setTimeout(v,5e3),setTimeout(v,9e3))};a.fastStart||"complete"===document.readyState?p():window.addEventListener("load",p)})()})();